import UIKit
import SceneKit

extension ViewController {

    func loadAnimations(for node: SCNNode) {
        if let animationPlayer = Animations.create(withName: "exampleAnim", endTime: 5.0 /* 设置的具体结束时间为五秒 */) {
            node.addAnimationPlayer(animationPlayer, forKey: "customExample")
        }
    }
}